<?php

namespace App\Providers;
use Illuminate\Support\ServiceProvider;
use App\Repositories\Eloquent\CustomPassword;

class CustomPasswordProvider extends ServiceProvider{
    public function boot(){

    }

    public function register(){
        //单列绑定
        $this->app->singleton('custom_password',function(){
            return new CustomPassword();
        });
    }
}
